package com.example.order.service;

import java.util.Map;

/**
 * @Author juzipi
 * @Date 2021/7/23 20:55
 * @Info
 */
public interface WeiXinPayService {


    /**
     * 退款
     * @param orderId 订单id
     * @return
     */
    Boolean refund(Long orderId);


    /**
     * 获取支付二维码
     * @param orderId
     * @return
     */
    Map<String,Object> getPayQRCode(Long orderId);


    /**
     * 查询支付状态
     * @param orderId
     * @return
     */
    Map<String,String> getPaymentTypeByOrderId(Long orderId);
}
